/**
 * @author bipul_sinha
 * @version 1.0
 * @created 30th December, 2010.
 *
 * IController
 *
 * Copyright @ 2010 CES
 * All Rights Reserved.
 * CONFIDENTIAL AND TRADE SECRET
 */
package com.ces.knacky.framework.controller;

import com.ces.knacky.framework.services.CommonService;
/**
 * Controller interface defines contract for decendents to have commonServices applicable to all of 
 * them.
 *   
 * @author bipul_sinha
 * @see BaseController
 */
public interface IController extends IMarkupController {
	/**
	 * This method is used to return the service configured via auto wiring.
	 * 
	 * @return 	CommonService
	 * 			Represents commonService. Provides methods to perform database operations.
	 */
	CommonService getCommonService();
	/**
	 * Used to set the service object configured through wiring.
	 *  
	 * @param 	commonService
	 * 			Represents service to be used to perform application specific operations.
	 */
	void setCommonService(CommonService commonService);
}
